package com.dalin.platform.loa.condition;

import com.dalin.common.pager.Condition;
/*****************************************************************************
 * @content: 类信息                                                   *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2010-06-11                                                     *
 * @modDate: 2010-06-11                                                     *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class LoaDicTypeCondition extends Condition{
    private Long projectId; // PROJECT_ID,16,0
    private String typeCode; // TYPE_CODE,64,0
    private String typeDescription; // TYPE_DESCRIPTION,256,0

    public LoaDicTypeCondition prepareParams() {
        setBaseQueryStr("from LoaDicTypeEntity h");
        setParam("h.projectId", "=", projectId);
        setParam("h.typeCode", "=", typeCode);
        setParam("h.typeDescription", "like", "%" + typeDescription + "%");
        return this;
    }

    
    
    
    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeDescription() {
        return typeDescription;
    }

    public void setTypeDescription(String typeDescription) {
        this.typeDescription = typeDescription;
    }
}
